/**
 * 2017年8月15日
 */
package spring.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

/**
 * @author Alex
 *
 */
@Aspect
@Component
public class MyAspectAdvisor {
//	@Around("execution (* spring.*.toString(..)")
	public void around(ProceedingJoinPoint pjp) throws Throwable{
		System.out.println("before xxxx");
		pjp.proceed();
		System.out.println("after" + this);
	}
}
